package com.link2room.ironhide.dto.param.manager;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.link2room.common.dto.param.base.BaseL2rParamDto;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * Created by LN on 2016/11/29.
 */
public class ImageUploadParamDto extends BaseL2rParamDto {

    public ImageUploadParamDto(MultipartFile file) throws IOException {
        this.file = file;

    }
    @JsonIgnore
    private transient MultipartFile file;
    public MultipartFile getFile(){
        return file;
    }
}
